package com.jz.pay4.service;

import com.jz.commom.api.dto.request.Payment;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiOperation;
import org.apache.ibatis.annotations.Param;

@Api
@ApiModel(value = "支付接口")
public interface PaymentService {

    @ApiOperation(value = "创建订单")
    int create(Payment payment);

    @ApiOperation(value = "根据ID查询订单")
    Payment getPaymentById(@Param("id") Long id);
}
